﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace LeadCRM.Models.Account
{
    public class Register
    {
        [Required, DataType(DataType.Text)]
        public string Username { get; set; }
        [Required, DataType(DataType.Text)]
        public string FirstName { get; set; }
        [Required, DataType(DataType.Text)]
        public string LastName { get; set; }
        [Required, DataType(DataType.Password)]
        public string Password { get; set; }
        [Required, DataType(DataType.EmailAddress)]
        public string Email { get; set; }
        [DataType(DataType.Text)]
        public string PasswordQuestion { get; set; }
        [DataType(DataType.Text)]
        public string PasswordAnswer { get; set; }

    }

    public class MenuMasterModel
    {
        public List<Menu> Menu { get; set; }
    }
}